﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using TYBase;
using TYControl;

namespace TYComm_For_DSApp.View
{
    public partial class View_PLC_Control_SendFloat : WindowT
    {
        public float SendData_Bool { get; set; }

        public View_PLC_Control_SendFloat()
        {
            InitializeComponent();
        }

        private void BtnClick_Send_0(object sender, RoutedEventArgs e)
        {
            SendData_Bool = txt.Text.AsFloat();
            this.DialogResult = true;
        }
    }
}